package cn.wolfcode.wechat.service;

import cn.wolfcode.wechat.domain.LocationBlacklist;
import cn.wolfcode.wechat.query.LocationBlacklistQueryObject;

import java.util.List;

public interface ILocationBlacklistService{

    int insert(LocationBlacklist locationBlacklist);

    int update(LocationBlacklist locationBlacklist);

    void saveOrUpdate(LocationBlacklist locationBlacklist);

    int delete(Long id);

    LocationBlacklist get(Long id);

    List<LocationBlacklist> getAll(LocationBlacklistQueryObject qo);

    boolean findByKeyword(String keyword);
}
